package demo5;

import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Set;

public class Pre {

    private int[] nums;

    private String[] strs;

    private List<String> list;

    private Map<Integer,String> map;

    private Set<Subject> subjects;

    public Set<Subject> getSubjects() {
        return subjects;
    }

    public void setSubjects(Set<Subject> subjects) {
        this.subjects = subjects;
    }

    public int[] getNums() {
        return nums;
    }

    public void setNums(int[] nums) {
        this.nums = nums;
    }

    public String[] getStrs() {
        return strs;
    }

    public void setStrs(String[] strs) {
        this.strs = strs;
    }

    public List<String> getList() {
        return list;
    }

    public void setList(List<String> list) {
        this.list = list;
    }

    public Map<Integer, String> getMap() {
        return map;
    }

    public void setMap(Map<Integer, String> map) {
        this.map = map;
    }

    @Override
    public String toString() {
        return "Pre{" +
                "nums=" + Arrays.toString(nums) +
                ", strs=" + Arrays.toString(strs) +
                ", list=" + list +
                ", map=" + map +
                ", subjects=" + subjects +
                '}';
    }
}
